package team.pwy.service;

import com.github.pagehelper.PageInfo;
import team.pwy.pojo.entity.Coupon;

import java.util.List;

public interface CouponService {

    PageInfo<Coupon> findByUserId(Integer userId,Integer pageNum,Integer pageSize);

    Integer delById(Integer id);

    PageInfo<Coupon> findByUserIdStatus(Integer userId, Integer status, Integer pageNum, Integer pageSize);
}
